package com.lyncs.ods.req;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author alex
 * @date 2022/4/2 23:35
 * @description
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class SaveStaffGroupReq {

    @ApiModelProperty(value = "用户ID")
    @NotNull
    private Long userId;

    @ApiModelProperty(value = "权限组ID")
    private List<Long> groupIds;
}
